package o;

import android.content.Context;
import android.os.RemoteException;
import com.huawei.appmarket.framework.coreservice.BaseIPCResponse;
import com.huawei.appmarket.framework.coreservice.DataHolder;
import com.huawei.appmarket.framework.coreservice.Status;
import com.huawei.appmarket.service.externalservice.distribution.download.IDownloadCallback;
import com.huawei.appmarket.service.externalservice.distribution.download.request.UnregisterDownloadCallbackIPCRequest;
import com.huawei.appmarket.service.externalservice.distribution.download.response.TaskOperationResponse;
import java.util.LinkedHashMap;

public class dzf implements dhe<UnregisterDownloadCallbackIPCRequest, TaskOperationResponse> {
    public void ˊ(Context context, DataHolder<UnregisterDownloadCallbackIPCRequest> dataHolder, dgz o_dgz) throws RemoteException {
        ॱ(dataHolder);
        Status status = new Status(0);
        String ˎ = ((UnregisterDownloadCallbackIPCRequest) dataHolder.ˊ()).ˎ();
        IDownloadCallback ॱ = ((UnregisterDownloadCallbackIPCRequest) dataHolder.ˊ()).ॱ();
        if (ॱ == null) {
            status.ˋ(9);
        } else {
            dzd.ॱ(context).ˊ(dataHolder.ˏ().ˋ(), ˎ, ॱ);
        }
        BaseIPCResponse ˎ2 = ˎ();
        ˎ2.ˏ(0);
        status.ˏ(ˎ2);
        o_dgz.ॱ(status);
    }

    public TaskOperationResponse ˎ() {
        return new TaskOperationResponse();
    }

    private void ॱ(DataHolder<UnregisterDownloadCallbackIPCRequest> dataHolder) {
        LinkedHashMap linkedHashMap = new LinkedHashMap();
        linkedHashMap.put("mediaPkg", dataHolder.ˏ().ˋ());
        dgh.ˋ("380402", linkedHashMap);
    }
}
